package com.jnc.web.biz.system.mapper;

import com.jnc.web.biz.system.model.DictType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Auther: jjn
 * @Date: 2020/7/31
 * @Desc:
 */
@Mapper
public interface DictTypeMapper {
    public List<DictType> queryDictType(DictType record);
    public DictType getDictType(Integer dictTypeId);
    public List<DictType> getNormalDictType();

    public List<DictType> getAllDictType();

    public List<DictType> checkDictType(DictType record);
    public Integer checkTypeHasData(List<Integer> dictTypeIds);
    public int deleteDictType(List<Integer> dictTypeIds);
    public int addDictType(DictType record);
    public int editDictType(DictType record);

}
